package service

import (
	"context"
	"yuanxin-admin/internal/model"
	"yuanxin-admin/internal/vo"

	"github.com/gin-gonic/gin"
)

type ISysDeptService interface {
	ListDept(context context.Context) ([]*vo.SysDeptVO, error)
	Save(context context.Context, entity *model.SysDept) (bool, error)
	Update(c *gin.Context, entity *model.SysDept) (bool, error)
	Remove(c *gin.Context, id string) (bool, error)
}
